Make declaration compatible with QueryPage::formatResult