Add getSpawns command.