in the longer term we can use `CheckedPathIs` and `uniqueId` to check that `register` is getting a `CheckedPath` with the correct path in it