Add support for gem-based plugins.