added the ability to inject a decorator of written event processors