Copy over from parse-ecma