Implement @dequeue