remove the uci dependency from protocol handlers