Add swift support