Added beginning of API documentation.