Casting and Encapsulation