Add weight to plugin.