Adding the utility code for stripping the algo properties in some cases, thanks to Colm