Use referencesf instead of implementing our own version.