Fix Formatter interface declaration