Ert 815



The PR contains infrastructure changes required for the coming region update PR.
The issues addressed in this method could be solved by letting the C-container take ownership of the object and converting the Python object to a C-reference (and setting the parent of the object to the Python container).