removed methods that are private in scala api and that are in other PR