Small correction in the API impl