Added protocol and delegate.