Remove ModelWithScope and add handleError
#450
Merged
ModelWithScope and add handleError
#450