Remove hardcoded custom task type logic