Add missing copyright headers.
Add hash<> for endpoint.