Now compatible with both Swift 1.0 and 1.1