Use private utility function for extracting format data.