Unnecessary cruft
Make TaskType more resilient
Protect from arbitrary parameters being constantized