removed typed-var (var<T>) support (use cast!)