Added template for document