Initial work on a statistics extension.