Altered to work with the revamped Spell class.