Corrected signature of plugin constructor