Remove globals in lua module