Add more helper functions to opc_client.py