Switch asset registration to in plugin