Use ES6 features where available.