Added some helper functions for HVClient.