Extend formatting functionality.