type casting

You can convert a class to one of its subclasses (called type casting) by using the syntax NewReference := type_to_cast_to[Reference], where type_to_cast_to is the type you want to use.