public function keys() { if (!$this->loaded) { $this->load(); } return array_keys($this->resources); }