Simplified task.
Modified tasks to always be atomic.
Ensure same type for returns.