Add some protection against poorly coded transformation connectors. addOrReplaceDocument signals now must make it through the pipeline, or the framework will issue a noDocument() invocation itself.