Added length field to the LibraryEntry struct.