Removed some loose factions code here.