Changed some Mod API functions