#KJ-55 Local classes - transform them into inner classes. Documented the pitfalls of the existing implementation and proposed an alternative. Documentation is inside todo-s.