Added more socket events.