Mention the ranges again in the error code doc.

Apparently it's not obvious enough from the function docs.
Add test for loading empty saves.

Make sure that loading an empty save actually preserves the emptiness.
Optimise imports.