Fixed main mod class.