Removed private method in application controller.