Set generator type to auto by default.