Inheritance for relations