Added PDF render for documents based on HTML and CSS templates.