Use new reference counting delegate to prevent crash