Fix init parameters

Init call was being given method name instead of settings data.