These four params should be strings, except for `$autoGenerate`, which is a boolean.