Add app\components\ActiveRecordRepository::getForPage() method.