I'd like to avoid breaking this API.
Could you fill the value with 0 directly and create a new "constructor" to create a search_key for xgmthrid?