Added simple formatting functions.