Removed obsolete code from message views