Autoclear modtype on move.