removed dependency on guava, fix bug in isWrapperType()