Reduced the number of methods connecting to python by using PyObject to transfer objects instead of individual members.