Added input autoboxing support