replaceInvalidRefsWithErrors
Doesn't seem like anything is relying on setting this to `false` anymore, remove it.