Add MagicObject and MagicManager.