Refactor async saving, ZCore should be sync.