Loading document templates and CSS from assets