Added generation of API documentation.