Plugin::Register cleanups