Add missing function and styles for watermarked pdf's.