Add clearOnSetStore for Tree module