protected function handlePackage($package) {
		if ($package instanceof Package) {
			return $package;
		}
		
		$package = new Package($package, $this->basePath, $this->baseUrl, $this->metadataManager);
		
		if ($this->hashAppend) {
			$package->setHashAppend(true);
		}
		
		return $package;
	}