Add format analysis to format functions in Common.