Fixing issues with loading entity controller for task types.
Fixing issues with loading entity controller for task types.