Inlined task_types to task (no need for separate file).