Fixing compiler warnings with collections and inheritance

When one immutable type descends from another immutable type that contains a collection, the generated code produces compiler warnings because of methods with the name name.