Adding IErrorHandler