Remove type from self when passing to cdef class