In requires_attr, use a default of None when calling getattr, just to be defensive.