Wrap languages in a closure.