Remove deprecated methods.