Btw, can we do the same thing for notes (register a selector for when the plugin should be applied)?