Removing `public` methods is a BC break, you should revert this.