Expose format API so that formatting can be done later on