Bugfix: cannot import name StatHandler