- Improve the method to detect inline processing.
- Remove some of the useless changes.