UPD: remove magic request -> getRequest() && is{Post,Ajax}Request -> getIs{Post,Ajax}Request()