Proper queue manipulation.