Improve packaging of plugins.