public function load($type,$id) {
		if (isset($this->cache[$type][$id])) {
			$this->hits ++;
			$bean = $this->cache[$type][$id];
		}
		else {
			$this->misses ++;
			$bean = parent::load($type,$id);
			if ($bean->id) {
				if (!isset($this->cache[$type])) $this->cache[$type]=array();
				$this->cache[$type][$id] = $bean;
			}
		}
		return $bean;
	}