Offline mode support (squashed).