Passing a ref to DocumentedAction into DocumentedParam