Remove duped cdx function.