Add canary support. Closes #7.