Remove hard-coded values in CreateQueue.