Substitution functions was added.