Added StringAlgorithmDecorator and StringMetricDecorator.