Cure NameError.