Adding methods to provide all property and relationship readers for iteration.
Refactoring relationship inference code.