Add generic tasks by reflection