Remove superfluous functions.