'Set the xmodule_runtime to make this XModuleDescriptor usable
as an XModule.'

@post_generation
def xmodule_runtime(self, create, xmodule_runtime, **kwargs):

    if (xmodule_runtime is None):
        xmodule_runtime = ModuleSystemFactory()
    self.xmodule_runtime = xmodule_runtime
