Tighten memory usage of data loader, use reference buffer.
Clean up unnecessary explicit constructors in composite/record.