Merge "Add new APIs." into pi-dev