Remove previously deprecated functions and classes.