commit pluginspec.cpp function.