Updated to remove errors in Xcode Beta 3

Changed array syntax to include type in square brackets.
Cast as NSString to work around Swift bug that currently does not
recognize String as a type in (NSObject, AnyObject).