Changed signature of Spawn.