Updated DF usage for latest API changes.