Filter out primitives when getting class from String. Closes #54