Used some optimization for emscripten compilation.
Make use of msg.sender.