remove methods and classes deprecated until 2.0