Removes old functions