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