Centralizing code in PTRecord.