prevent generation of some identical classes from different libraries; added a tub definition for ArrayBuffer