Updated CC API. Fixes #75, closes #102.