Deprecated methods in Relations
Fix registration of deps by memberRef with name hashing

Dependencies by member reference were registered by mistake in
dependencies by inheritance.