Remove a function that is no longer used