centralize the querying for XMI versions