Remove unnecessary features.