Catch exceptions on equals (and fail)

Also remove `format` and `serialize` methods