Define API for relationship generations