Get-PWCurrentUser not returning usual user object


The Get-PWCurrentUser cmdlet seems to be returning an object with type  'PWWrapper+ProjectWiseUser', rather than 'Bentley.ProjectWise.PowerShell.Common.User'.

This means that to use it is cumbersome to use it with other cmdlets which have users as inputs. For isntance to get the working directory of the user running the script, I have to do this:

$worDir = Get-PWUserSettingByUser -InputUsers (Get-PWUsersByMatch -email (Get-PWCurrentUser).Email) -SettingName WorkDir_WhenUsingPWExplorer

Any chance we can get that cmdlet changed to align with the rest of the user cmdlets?