Warning suppression on equals methods