Added swift support.