Implemented clear() interface