Implemented basic Client functionality.