GPII-76: Moved document option inside gpii.renderer.render