There should be a @context_processor decorator for modules, so that a processor can be added on a per-module basis, in the same way as @before_request. A processor function defined this way would only be executed in the module space.
[from the mailinglist]
Added missing decorators for module wide context processors.
This closed by 745638e.