Added some docs and changed the API just a bit