Removed identifier from message class. Identification is now done using instanceof.