Added handler_type parameter to channel_handlers.