Add basic method declarations in QueryManager