remove redundant cython definitions