Update API signature in example.