Add class specific sizes functionality.