Please don't use instance variables to encapsulate side effects like this.