Emit class name in fields that can't be resolved.