Add plugininfo class for M2.7 compatibility