Updated documentation of SafeInvoke