         return !self.doubleValue.isInfinite && !self.doubleValue.isNaN
     }
     
-    public func equals(rhs: MixpanelType) -> Bool {
+    public func equals(rhs: MixpanelType?) -> Bool {
         if rhs is NSNumber {
             return self.isEqual(rhs)
         }

     */
    public func isValidNestedTypeAndValue() -> Bool { return true }
    
    public func equals(rhs: MixpanelType) -> Bool {
        if rhs is UInt {
            return self == rhs as! UInt
        }

     */
    public func isValidNestedTypeAndValue() -> Bool { return true }
    
    public func equals(rhs: MixpanelType?) -> Bool {
        if rhs is String {
            return self == rhs as! String
        }
