Additon of functionality to the python bindings.