Support nested class definition