Adding support for doc fragments