Fix Store constructor to use this.model instead of using the default Model