MagicObject class, improved Object class