Add "clear" function.