Lazily builds a relation (lazy so definitions may reference each other).
typedef RelationFactory = Relation<Model> Function();