Omitted the client settings method, because ES returns something structurally very different from what is defined.