Declared many arguments as final inside the GatesManager class.