Added more queue operations.