Added plugin version checking.