Add static methods for send and recv