Allow 'null' for 'device' in getWorkGroupInfo