Working version of this plugin.