Added registration to plugin