Made pypy compatible