Fix warning.
Add channel types constants.