Kind of a high level code organization question, but would it better to have this be a method in the metrics module? Seems like it would be more [cohesive](http://en.wikipedia.org/wiki/Cohesion_%28computer_science%29#Types_of_cohesion).