Added ES6 classes support.