Implement queue manager.