For posterity: This code doesnt work at all but it doesn't break anything
Discovery will be fixed in future branch by @theJenix