Fixing stdweb/legacy definition.