consolidate_protocols for perf