Only create queue objects when needed