Fix compatibility with other plugins, see #1.