Renaming caskco->caskdata, and other minor changes.