Rather than use "mm.instance.asInstanceOf[Sims3ResourceHandler]" to instantiate a module through its mirror, use the stackoverflow companion method plus an extra cast