Move PDB record data handling to methods.