* more performance improvements by using alternatives to isinstance
* documentation updates