Added pdf:get-document-metadata() function.