Update deprecated references.