Please just pass the `path` into `maybeWrapParams`, and call `.get("params")`, `.get("defaults")`, and `.get("rest")` inside `maybeWrapParams`.