public function __get($attribute) { if (isset($this->dictionary->{$attribute})) { return $this->dictionary->{$attribute}; } }