Spells and debug