Adding client/server functionality.