Cleaning up client class.