why do we register the processor in this plugin?