Implemented RPCs to Thrift Server.