Allowing to specify setting the doc name in the Document.Builder