Minor correction for missing $ replacements.