Removed ambiguous and unsafe overloads

- removed overloads of defineInheritance and defineTypeFunction
DefaultArgument sample