Attach metadata to client object.