Added checks to output formatters