Added equals and hashcode to IC's, to make sure it is impossible for
duplicate instances to occur.