Added type to Spell class