New simplified API.