Fix init parameters

Init call was being given method name instead of settings data.
Merge pull request #110 from sgarner/patch-2

Fix init parameters