Remove obsolete functions.