Added Swift support