Add support for prefix and suffix configuration.