Refactor block formatters.