Small fix for the api.