Swift 1.1 compatible