Better inheritance structure.