Adds all query methods