Examples of overriding hash/isEqual and protocol inheritance.