Don't forget the import statements :P
Merge pull request #680 from lluixhi/master

Don't forget the import statements for StatCollector, otherwise it fails to compile..