Deprecate casting delegates to void*