Can return instances of inner classes to caller