Fix interface for relationships