Cleaned up send and receive.