Remove a few irrelevant functions.