Tweaked how metadata worked in created documents