Added PDF builder functions.