Starting to rewrite the mod.