Adds a bit of documentation to the transformer

Seems that document injection is a bit topic - and it already works - so
I am documenting it here.