Adds the protocol to the new delegate class