Add passing scalar value to functions, `expect`, `replay`, `verify` and `reset`.