Dealing with superclasses and private fields