Add helper to print out protocol