Add a little bit of documentation on how to write queries on domain objects.