Fix depreciated reference.