Replaced last few occurrences of direct ddb table manipulation with spawn().