Fixed some bugs with primitive wrappers.
Added a method.