- Static properties for service modes and piro.
- Optimization in if..else in two methods.