Moves object spawning to the new method