Fixed how shared vals are passed to delegates