Include kargs in __init__.
Merge pull request #1650 from matham/fix_settings_arg

Include kargs in __init__.