Added defaults for cache and scheme