[Protocols_Delegates_Events] Change code according to API changes