parsing and writing abstract superclasses