Support for multiple substitutions