Adding querying.