Wrap exported variables in accessor functions.