Added some more API documentation