For #36: The type check that From does now checks only raw class

Also, respects primitive vs. primitive wrapper