Restructures Swift language