Fixed inherit problems in design.