Some REST stuff.