Removes redundant functions