Remove unnecessary unboxing