def UnderscoreToTitleCase(under_score):
  """Helper function which converts under_score names to TitleCase.

  Args:
    under_score: A name, segmented by under_scores.
  Returns:
    A name, segmented as TitleCase.
  """
  segments = under_score.split('_')
  return ' '.join([s.title() for s in segments])