Finally I got correct behaviour of classes.
Close to autocompletion... almost done.