Add missing channel functions
Add return values