Actually added API documentation