Removes unused helper function.