Remove unused internal function.