Fix calling parent constructor in class inheritance. The first parameters should be parent ones.