Revert code of plugin shim