Added a couple more functions to the python library