Fixing visibility of queue type in WSSimpleTaskScheduler