Adding support of the passing of the embedded Python context object as well as proper Py_DECREF of some references