Removed the 'ref' attribute from the delegate signature as it's not currently supported there.