started adding support for getting the task types for a given task