Update API and documentation.