Make sure to replace all variables passed into the methods.