Added send/receive to API