Remove custom chunks function, it is not longer used