Split out get and query operations.