Added delegate protocol.