Removed useless error handlers.