Fixed #256. Update plugin discovery.