add `resetKeys` method