Added ability to remove messages from a queue