Delete unncessary functions.