Add @deprecated to deleteIdentity() because the current implementation is quite broken.