Delete unnecessary functions.