Add ApiServlet interface.

Not sure about this one just yet.