Remove deprecated methods and attributes