Refactor
Add decode methods to PDF