Migrate deprecated setInline calls. fixes #16