I think we need to fix this so there's no need to qualify such calls to `strip`. How about moving strip from string to algorithm?