Separated data formatting functions.