Support customized format specifier.