Reduce the reliance on instance variables.