Removed export of helper function.