Add overrided methods Hash and Equals