Code has been changed to not use instance variables.