Adding `self` reference.

Replacements can use previously set values on the current object.