Editing the structure of classes and inheritance