Adding commands to generate API documentation.