Added format functionality to utility output functions. (#42)