bug fix - added setData method on store definition.