Remove worklog_period(_string)

They never belonged into this app anyway.
Make the PDFDocument class used in pdf_response configurable