I would suggest to define AirplaneModeHelper in an anonymous function, so that we can define the constants in the closure instead of the object itself.