Expose Document to extension point IncludeProcessor

IncludeProcessor should be allowed to read Document
e.g. attributes.