Added support for mod entity ids.