Added some outdated function implementations in python.