Added delegate and protocol.