Convert category helpers to ES6.