Add querying interfaces.