Update leo.py and leo.rb with code depreciation