Exposed the resize() function of c3