Set path `instance` property

Useful when checking path types.