Reworked Task Providers and task queues.