Revert "Removes PLUGIN_NAME stuff."

This reverts commit d3d64f6b83b2f6ee38d3702940ba21b759aa1705.