Support deprecated class.