Support nested data classes