Added clear() back to output class