Spells inherit from the BaseSpell class, which contains some functionality that is shared between all spells.