Updated to use the new AppContext contract
- ApplicationContext was renamed to AppContext