The two types of boxes inherit from a single box class.