Making the mode configurable for flexibility.