unused imports removed ;  methods hasAnyChanges() && reset() implemented