Why is `$name` used as a reference?