Support nested record definitions