Allow app to be serialized, preparing for caching layers