Importing socks from deprecated