Bug fix: setting data after calling `removeAllData` failed.