Auto unboxing does not work the way I expected.