Invoke delegates safely