Add missing relationships.