Convert remaining general plugins to C++ declarations.