remove all methods deprecated with 4.0.0