Added support of class primary constructors, fixed #19.