protected function _init()
{
parent::_init();
$data = (array) $this->_data;
$this->_data = array();
$this->_updated = array();
$this->_removed = array();
$this->_handlers += array('MongoId' => function ($value) {
return (string) $value;
}, 'MongoDate' => function ($value) {
return $value->sec;
});
$this->set($data, array('init' => true));
$this->sync(null, array(), array('materialize' => $this->_exists));
unset($this->_autoConfig);
}