Updated for SDK change.