remove useless methods
Merge pull request #17890 from sergey-alekseev/remove-useless-methods

remove useless methods