Avoid using var() as a function to access a member var; gcc complains.

Instead, use "explicit operator var", which evaluates the class as a var.  It
works just as well, without causing trouble by overloading the type name.