Dmitry Timoshkov : mstask: Switch to using ITaskDefinition instead of IRegisteredTask.