Remove function that isn't used anymore.