Second part of the transition.

The "Secrets" singleton can now always be retrieved by querying for a
fixed key, and it's much easier to add new properties.