Added "merge" support to core and ORM.