Replacing constants with variables.