Refactored generic complete task handler to be generated for each process to unmarshal task specific data types.