add appendEntity() function to ExtendedDocument - note that it only works for *named...