API for handling custom task types

Hi @Tristan_Blackburn , you may want to have a look at this thread: