Refactor InputEvent Storable instance.