Prevent some issues with purr scripts included in pdf.