[misc] Use new API