deprecating not used methods (cherry picked from commit 9585dcc)
deprecating protected methods as they aren't used (cherry picked from commit 61d2549)
deprecating class as there is no real usages (cherry picked from commit cb5de69)