Use Module::Runtime::use_module instead of Class::MOP::load_class.