Some API work.