Swift support from darnel