Add pdf extension, references #9