Generated methods and variables of base classes of value types