Refactored RI channel API.