Removing socket calls.