Add support for automatic plugin version discovery