Added support for __dict__ attribute assignment and deletion, Fixes #24