When writing a class-within-a-class like this, it's a little more standard to see it at the bottom of the class (or more often: in a separate file).