Added protocol to template