Add addSpawn and setSpawn commands.