Keep one line nested classes at the top, move multi-line nested classes to own file.