Removed chat related logic.