Added protocol parameter.