Cannot nest class definitions (Error 1926)

A class definition cannot contain another class definition.