Add basic boxing/unboxing functionality