Tasks and optimization.