Move `register_asset` into `PluginRegistry` -- the logic works better
there.