It seems like the caller can do the formatting itself, in order to simplify this API.