Remove unneeded helper function.