added ox.merge and made typeAccessors of ox.reference extendable