We still need this method for backward compatility so let's mark them as deprecated first
GitHub Pull Request #2545