pyx_conv: cleanups