Bug 561121: [Runtime] Enhance AppEnvironment

Follow-up-to: f3c458839d546e581e39fd847c5a9e9b528d441e
4 files changed