Modding-related bugfixes:
- hero classes will be loaded correctly
- objects without index will have correctly assigned ID's