You can create an extension embedded in your model.
The new XEM is now attached to your model, and you can access any object extensions or generation tasks you have defined in the normal fashion.