Create relationship between two type parameters