- Ability to write multiple transactions / events in one go (moveLocalEventAtURL should accept multiple URLs)
- We can keep a separate SQLite model local db so that we can apply events to it and not require the memory
- Sync system needs an additional state to distinguish between a permanent failed check and a transient one. We should only report corrupted if permanent.
- Need a method to try to bring online - this should only be done if failed in a non-permanent way which requires the change above. This method should be called in iCloud settings if state is offline / transient corruption.
- Mark peers as dead if we detect re-pairing on the same device (match OSes). This only catches re-installs on the same device.
- readModel should accept a remote version and just skip re-creating the model if remote is equal to that
  - has to be careful to also check baseline since all events could be there
- Remove peer IDs from baseline once those peers are completely cleared / vacuumed (think about consequences)
- Never actually read + parse events, instead always read full headers and only resort to events when required
  - Provide an NSCache for those headers (same as for events)
- Possibly reading multiple files at the same time
- Cache baseline as it rarely changes (careful to not use the mutable perspective from the header)

Caching of Files (NSCache):
- Caching of baseline so that reads always succeed (invalidate on write + remote change)
- Caching of local cache in memory instead of writing it (write async)

SERIALISATION
- Shorten dictionary keys
- Switch to using integer keys
- Switch to using CFUUID / raw-bytes, not expanded
- Switch to using v2 branch as part of sync
- Switch data model to using NSData UUID (or maybe HTUUID?)
  - Needs switch in the database as well