Changed some old references to this.view.state to this.view.getState()