I can't find anywhere this method is actually used except for the test. Is metadata needed? Is it **supposed** to be set by the PDF generator when pages are generated maybe?