Starting to get querying working.