document state namespace