Made spells a part of the api