Implemented a fair portion of the client class.