Copy-paste of original functions in Cython