Minor changes to the IIFE.