A dog walks along the beach in Cape Cod.