Added lookup_key_by_code, now parameter is string.