Changed type visibility to private
Removed obsolete code in GenericRecord
Length initialized for DummmyRecord