Added a tastypie API.