adding back doc_prepare
config_dict function on settings object