lib/transformer/class.js:add class transformer