Deleted unnecessary error handler.