change deprecated .className to .type
Merge pull request #3722 from adobe/randy/issue-3676

Change deprecated .className to .type