Nicely written API handler. :)