Note to self:

Nested classes don't like the 'public' modifier.