Rename method.
Move logic to client.