.statePath && this.get(this.statePath)) {
          Object.keys(this.get(this.statePath)).forEach((key) => {
            this.set(key, this.get([this.statePath, key]));
          });
        }
      }

      /**
       * Removes this element from the list of state-aware elements in the
       * application.
       */
      disconnectedCallback() {
        const index = this.application.stateAwareElements.indexOf(this);
        if (index !== -1) {
          this.application.stateAwareElements.splice(index, 1