Basic REST stuff.