You don't actually define how the class prepares spells. Perhaps you should define how the class prepares spells?