Eliminated magic numbers from record parser