Moved merge to Collection. Added support for hiding foreign keys