Updated PortalClient.
Updated code to use new client.