Tidy up cdef