Tweaks to crud.py