Removing unrequired functions.