TODO: Use reference on document to modify content