Added deprecation warning on the base controller getRequest method.