Fixed small bug in API. (Also fixing in parallel on master.)
Working on scripts.  Left: verify_images, update_images.