Hooks for extending the relationship definition