Made request_not_found() a public method so it can be used by other controllers or views.