Use .equals instead of deprecated ID method.