Added query docs