Adding swift support