Wrote Query documentation.