Support multiple channels

Fixes #17.