Added taskDef method to Task, and increment version to SNAP7.