Modified code to pass cpplint.