Moved OmitSeq hashcode overrides to the abstract base class and made length fields eager.