Adding support for WrappedView.ViewPath

In some cases, the ViewPath for the WrappedView is needed, so adding
support for that.