Flesh out query class.