more cpdef'd methods in smoke.io