Make store_type configurable