Add support for an advanced task scheduler managed by the application.

My mistake, I forgot about this requirement. It's back to it's original functionality.