Remove unnecessary clearAll calls