Use error handler for errors during instantiation
Cleanup