Move that into documentPropertiesGetProperties() function