channels/rail: add missing definitions