spell class diagram