Added a few cast operators to the Variant class