Add optional parameters to the walk method documentation.