Remove unnecessary getDefaultFormatter and handleBatch methods.