Minor cleanup of new coco app and its api.