Guard against `AttributeError`