Remove unused stuff, permanently switch to REST.