Converts to ECMAScript 6