Change functionality to actually return preferences object with args.

Mostly a bugfix, but technically breaks api. Promoted to 1.0.0 by
circumstance.
1.0.0 arrives early for an API-breaking bugfix