Add Swift mode