Remove unnecessary submodifiers