modified Dequeue classes.