Restrict the types of sync_send
and sync_receive
#127
Merged
sync_send
and sync_receive
#127