Changed the tag field to int like Or asked. I also changed the error
messages (they are not detailed anymore) we print.
Changed tag from String to int (now, there is another field that holds
the String representation). I also changed the error messages (they are
not as detailed as they used to be).