Delete old code, new api only.