add GetSummary function to provide summary as text.
Merge remote-tracking branch 'd/master' into HEAD