WPS related utilities