Add methods to draw PDF.