web.py updates to work with new model code.