function getImplementations ($instance){

		$rc = new ReflectionClass(get_class($instance));
		$interfaces = $rc->getInterfaces();
		$i = array();
		foreach($interfaces as $name => $crap){
			$i[]=$name;
		}
		return $i;
	}