Code cleaning and MobSwarmDeathEvent integration.