Make sure the class instance variables have defaults before they are used.