Removed Socket.type