Fix for cython and remove 'return 0'

Something that I promised to fix in this branch.