Where is PortalType returned as a value?