Cannot set block settings

There is typo in addsettingsByType.
Should be addSettingsByType