Add support for substitution definitions.