Passing next() to controller actions to allow for error handling.