Refactor formating.