Added nested class example to start with debugging this issue