Refactor storages.
Auto attach event.