Generation four and generation five implementation of extensible state