To register plugin.