Fix incorrect attribute wrapping
Module attributes that are callable but not methods were wrapped incorrectly.
The wrapper had self as a
required arg so things like inner
classes would fail to construct.
- No longer wrap class declarations
- Dynamic fallback in case static analysis incorectly wraps a non-method