Tweaking Number.__eq__ to require the same types.