Minor simplifying commit.
Minor simplifying commit.
Trying to clean up the dequeue function.