D class auto-wrapping in vars