Implement %Attr.AllowedClasses and %Attr.ForbiddenClasses.