first cut at restricting relationships to appropriate model types