elimination of closures in VuFind module