Base definitions for communication via spray