Added Call Gate and SWF structure