public function retrieve($key, $default = null) { return fetch_from_array($this->registry, $key, $default); }