Bug-fix:

 - Use enumerants instead of numbers for statistics