Added support for conversions using the "as" operator