private Command getCommand(String alias)
	{
		if(commands.getAllValidAliases().contains(alias))
		{
			return commands.get(alias);
		}
		else if(ungroupedCommands.getAllValidAliases().contains(alias))
		{
			return ungroupedCommands.get(alias);
		}
		else
		{
			return getInheritedCommand(alias);
		}
	}