* Fixed php doc
* Ensure proper _class value when instantiating document