Fix load defaults first

Load and set default arguments before using their state.

* set_defaults returns dict with loaded default arguments