Added Sync coding for spawned objects