Check methods in ControllerUtils handle normal and ajax requests.