Added an example and updated the StatsD class.