Clear up some outdated functions.