Add 'clear' functionality