Fixes #368: Adds missing documentation on custom queries.