Does this need to be a function?  Can't the body of this simply be at module-level scope?  We are wrapping existing variables right?