Yes this was copied from there. I'll refactor this out into the Formatter. This would also go along with #149.