For details of the new API, please see this document.