Added code comments to the magic.Magic class.