Extracting nested classes into separate files.