Add state enum to VersionBuffer.