A helper for working with XMI Models