Changed for beta 5 declaration Dictionary<Key, Value>
Placed in nil checks instead of boolean values for optionals per the beta 5 changes