Adapt plugin to new settings framework