simplified ismodeledclass()
fixed Adapter.__new__
Adapter.__new__: don't call base cls.__init__ in derived Adapter.__init__
simplified ismodeledmemberclass()