Move empty and nempty to same level as other query types. Add docs.