public function __sleep() { $this->map = array(); $this->reverseMap = array(); return array('map', 'reverseMap', 'key'); }