Can you move the `r = callee as Reference` code here so we can reuse the cast everywhere ?