Filing an issue per discussion on the mailing list titled "ReferenceType no bindings."
It feels like it would be useful if ReferenceType's containedType(0) returns the actual reference type. This feels more consistent with how Collection and Map contained types behave.
You'd suggested that you'll look into it perhaps for v2.10 or v3.0.