Added names to the query methods that are accessible via the hooks struct
Updated list_methods to also print query methods