Allow use of dict object as custom settings.

Partially addresses #146, with test and documentation update.