First pass at adding legend to CCA.