Fixed incorrectly generated code by cython (BasketReader).