Added functionality for implicit unboxing.