public function setTypeHandler($type, TypeHandler $typeHandler) {
		if (!is_string($type) || empty($type))
			throw new \InvalidArgumentException("Type must be defined as a string");	
		$this->typeHandlers[$type] = $typeHandler;
	}