Added wrapping into anonymous function for `--exports`.