Enable nested records.

Review by @gzm0 and @vjovanov.
Maybe a more descriptive name would be useful here. A comment would be good just so people know why the hell are we doing this :)