Changes for PDF integration.