Adding API documentation.