Added support for AtotomicTasks.