api rejigging, minification support