Cleaned up the gadget.