Class design.