Added the api documentation.