Add html, xml and pdf properties to Document entity