Turn PyObject into a opaque type in the right module