Add get function to wm-client