Better #getRelated() source code structure.