Line of comment explaining what these magic ref transformations are about?