A slightly better API setup