#KJ-55 Local classes - transform them into inner classes. Fixed an issue with elaboration of arguments of 'QNewInstance.