Fix: error "exportFunction is not defined"