refactor: Extract method for setting generator options