Commit parts of the implementation of operations for Queue.