Add input wrapper class for endpoints methods
Unify endpoints methods input signatures.
This is especially useful to have more generic benchmarking tools (in
anticipation of working with the walk
endpoint in upcoming use-cases).
Migrated from D1850 (view on Phabricator)