Moving initialization of queues to constructor.