Added the ability to change wrapper class.

You can now change the wrapper class using the `wrapperClass` setting. Fixes issue #361.