Fix quality flaw and set MethodType for constructor
Fix quality flaw