Remove obsolote functions.