public function addResources(array $resources) {
		foreach ($resources as $name => $resource) {
			if (is_numeric($name)) {
				$this->addResource($resource);
				continue;
			}
			
			$this->addResource($resource, $name);
		}
		
		return $this;
	}