@Alexander-Dukhno: the metamodel related commits probably need to be reverted for this PR.  However, keep them around -- we'll need them if we ever support ORM 5 within Shards.