More additions to support upgraded SpiderMonkey.