Format the output. Fixes #8.