Add a result parameter and mention it in the doc.