Added asList(..) method for primitives.