Can't the formatter be created in the constructor, so that we can remove this?