Tweak and cleanup mob mod support by Mr_okushama.