* add CryptoJS dependency;
* classById => classByType