Fix init due to SDK breaking changes.