Flexible shafts and outer casings