Add record_size. Untested.