Adding client functionality.